-
Notifications
You must be signed in to change notification settings - Fork 124
Add UR_ADAPTER_INFO_VERSION query #2404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pbalcer
approved these changes
Dec 2, 2024
martygrant
approved these changes
Dec 2, 2024
aarongreig
reviewed
Dec 2, 2024
frasercrmck
approved these changes
Dec 2, 2024
RossBrunton
reviewed
Dec 2, 2024
ea197ea to
ceffb34
Compare
ceffb34 to
1654981
Compare
PietroGhg
approved these changes
Dec 2, 2024
1654981 to
5aef8a3
Compare
In order to support in-code management of known failures we need a query to differentiate between the two versions of the Level Zero adapter. This patch adds the `UR_ADAPTER_INFO_VERSION` query which returns a `uint32_t` which is set to return `1` for all adapters except the Level Zero adapter when being compiled in V2 mode.
5aef8a3 to
3ff0730
Compare
kbenzie
added a commit
to kbenzie/unified-runtime
that referenced
this pull request
Dec 11, 2024
…-query Add UR_ADAPTER_INFO_VERSION query
aarongreig
pushed a commit
to aarongreig/unified-runtime
that referenced
this pull request
Dec 18, 2024
…-query Add UR_ADAPTER_INFO_VERSION query
aarongreig
pushed a commit
to aarongreig/unified-runtime
that referenced
this pull request
Dec 19, 2024
…-query Add UR_ADAPTER_INFO_VERSION query
aarongreig
pushed a commit
to aarongreig/unified-runtime
that referenced
this pull request
Dec 20, 2024
…-query Add UR_ADAPTER_INFO_VERSION query
aarongreig
pushed a commit
to aarongreig/unified-runtime
that referenced
this pull request
Jan 3, 2025
…-query Add UR_ADAPTER_INFO_VERSION query
aarongreig
pushed a commit
to aarongreig/unified-runtime
that referenced
this pull request
Jan 8, 2025
…-query Add UR_ADAPTER_INFO_VERSION query
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
conformance
Conformance test suite issues.
cuda
CUDA adapter specific issues
hip
HIP adapter specific issues
level-zero
L0 adapter specific issues
loader
Loader related feature/bug
native-cpu
Native CPU adapter specific issues
opencl
OpenCL adapter specific issues
specification
Changes or additions to the specification
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In order to support in-code management of known failures we need a query to differentiate between the two versions of the Level Zero adapter. This patch adds the
UR_ADAPTER_INFO_VERSIONquery which returns auint32_twhich is set to return1for all adapters except the Level Zero adapter when being compiled in V2 mode.